<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'nginx');
define('DB_PASSWORD', 'root1234');
define('DB_NAME', 'itdb');

// 连接数据库
//require '../script/mysqlconfig.php';
//$conn = new mysqli(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
//if ($conn->connect_error) {
//    die("连接数据库失败: " . $conn->connect_error);
//}